﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PhotoGallery.Core.Business;


namespace SqlServerProvider.Test
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            EventInfo eventinfo = new EventInfo();
            eventinfo.Name = "1";
            eventinfo.Root = "helo";
            eventinfo.Description = "helloo";
            eventinfo.Save();


            eventinfo = EventInfo.Load(1);

            eventinfo.DeleteOnSave();


        }
    }
}
